package com.xx.pmis.persistence.dao;

import java.util.List;

import com.xx.pmis.model.Present;

public interface PresentDAO extends BaseDAO<Present> {
	// 根据礼品ID查询该礼品
	Present getPresentByPresentID(String presentID);    

	// 根据条件查询
	List<Present> getAllPresentByCondition(String hql);
	// 根据条件查询，分页显示
	List<Present> getAllPresentByConditionByPage(String hql, int currentPage, int lineSize);
}
